﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ISKConfigurator
{
    public class Conf
    {
        private List<Msg> Msgs = new List<Msg>();

        public List<Msg> MsgList
        {
            get
            {
                return Msgs;
            }
            set
            {
                Msgs = value;
            }
        }

        public Conf()
        { 
            //Msgs = new List<Msg>();
        }

        public void addMsg(string Name, byte LengthMainSub, byte LengthSubMain, string TaskMain, string TaskSub, string EventMain, string EventSub)
        {
            Msg msg = new Msg(Name, LengthMainSub, LengthSubMain, TaskMain, TaskSub, EventMain, EventSub);
            Msgs.Add(msg);
        }
    }
}
